package com.xf.spring.relation;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import com.xf.spring.fitout.Address;
import com.xf.spring.fitout.Person;

public class Test {

	public static void main(String[] args) {
		ApplicationContext ct = new ClassPathXmlApplicationContext("xmls/relation.xml");
	
		Person p=(Person) ct.getBean("person");
	
		System.out.println(p);
	}

}
